package com.turing.post.cardmanagement.util;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.HashMap;

/**
 * 卡-9：XXX功能操作明细报表
 * 
 * @author zxp
 * @Feb 18, 2013
 */
@SuppressWarnings("serial")
public class CardEventLogReport implements Serializable {

	// 卡批次号 卡顺序号 卡号 销售单位编号 销售单位 卡面值 卡余额
	// 费率 手续费 操作类型 操作时间 操作人员
	private String batchNo;
	private String cardSeqNo;
	private String cardNo;
	private String saleBranchNo;
	private String saleBranchName;
	private BigInteger initialBalance;
	private BigInteger balance;
	private BigInteger feeratio;
	private BigInteger fee;
	private BigInteger cardFee;
	private BigInteger cashFee;
	private BigInteger discountFee;
	private String eventType;
	private String time;
	private String name;

	public CardEventLogReport() {

	}

	public String getBatchNo() {
		return batchNo;
	}

	public void setBatchNo(String batchNo) {
		this.batchNo = batchNo;
	}

	public String getCardSeqNo() {
		return cardSeqNo;
	}

	public void setCardSeqNo(String cardSeqNo) {
		this.cardSeqNo = cardSeqNo;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public String getSaleBranchNo() {
		return saleBranchNo;
	}

	public void setSaleBranchNo(String saleBranchNo) {
		this.saleBranchNo = saleBranchNo;
	}

	public String getSaleBranchName() {
		return saleBranchName;
	}

	public void setSaleBranchName(String saleBranchName) {
		this.saleBranchName = saleBranchName;
	}

	public BigInteger getInitialBalance() {
		return initialBalance;
	}

	public void setInitialBalance(BigInteger initialBalance) {
		this.initialBalance = initialBalance;
	}

	public BigInteger getBalance() {
		return balance;
	}

	public void setBalance(BigInteger balance) {
		this.balance = balance;
	}

	public BigInteger getFeeratio() {
		return feeratio;
	}

	public void setFeeratio(BigInteger feeratio) {
		this.feeratio = feeratio;
	}

	public BigInteger getFee() {
		return fee;
	}

	public void setFee(BigInteger fee) {
		this.fee = fee;
	}

	public String getEventType() {
		return eventType;
	}

	public void setEventType(String eventType) {
		this.eventType = eventType;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 查询销售单状态列表信息
	 * 
	 * @param isAll是否包含全部
	 * @return
	 */
	public static HashMap<String, String> getEventTypeMp() {
		HashMap<String, String> mp = new HashMap<String, String>();
		mp.put(CardEventLog.CARDEVENTLOG_EVENTTYPE_CARD_TEMP_LOSS, "卡临时挂失");
		mp.put(CardEventLog.CARDEVENTLOG_EVENTTYPE_CARD_LOSS, "卡正式挂失");
		mp.put(CardEventLog.CARDEVENTLOG_EVENTTYPE_CARD_UN_LOSS, "卡解挂失");
		mp.put(CardEventLog.CARDEVENTLOG_EVENTTYPE_PWDERRLOCK, "密码错误锁定");
		mp.put(CardEventLog.CARDEVENTLOG_EVENTTYPE_PWDERRUNLOCK, "强行解除密码错误锁定");
		mp.put(CardEventLog.CARDEVENTLOG_EVENTTYPE_FREEZE, "冻结");
		mp.put(CardEventLog.CARDEVENTLOG_EVENTTYPE_FREEZE_FREE, "解除冻结");
		mp.put(CardEventLog.CARDEVENTLOG_EVENTTYPE_LOSSED, "挂失换卡");
		mp.put(CardEventLog.CARDEVENTLOG_EVENTTYPE_CHANGE_CARD, "换发新卡");
		mp.put(CardEventLog.CARDEVENTLOG_EVENTTYPE_CHANGE_TYPE, "变更卡种类");
		mp.put(CardEventLog.CARDEVENTLOG_EVENTTYPE_CHANGE_OWNER, "登记或变更实名信息");
		mp.put(CardEventLog.CARDEVENTLOG_EVENTTYPE_RESET_PASSWORD, "重置密码");
		mp.put(CardEventLog.CARDEVENTLOG_EVENTTYPE_CHANGE_PASSWORD, "修改密码");
		mp.put(CardEventLog.CARDEVENTLOG_EVENTTYPE_MODIFY_EXPIRED, "调整有效期");
		mp.put(CardEventLog.CARDEVENTLOG_EVENTTYPE_VERIFY_MAC_FAILED,
				"卡余额MAC校验错");
		mp.put(CardEventLog.CARDEVENTLOG_EVENTTYPE_MANUAL_LOCK, "手工锁定");
		mp.put(CardEventLog.CARDEVENTLOG_EVENTTYPE_MANUAL_LOCK_FREE, "手工解除锁定");
		mp.put(CardEventLog.CARDEVENTLOG_EVENTTYPE_MAGNETIC, "卡补磁");
		return mp;
	}

	public BigInteger getCardFee() {
		return cardFee;
	}

	public void setCardFee(BigInteger cardFee) {
		this.cardFee = cardFee;
	}

	public BigInteger getCashFee() {
		return cashFee;
	}

	public void setCashFee(BigInteger cashFee) {
		this.cashFee = cashFee;
	}

	public BigInteger getDiscountFee() {
		return discountFee;
	}

	public void setDiscountFee(BigInteger discountFee) {
		this.discountFee = discountFee;
	}
}